package com.asap.demo.mysql.table;

import java.util.List;

public class JsonTable {

	// 表名
	private String tableName;
	// 消息中的主键名称(对应于表中)
	private String topicPrimaryKey;
	private String primaryKey;

	// 字段定义对象列表
	private List<JsonField> jsonFieldList;

	public String getTopicPrimaryKey() {
		return topicPrimaryKey;
	}

	public void setTopicPrimaryKey(String topicPrimaryKey) {
		this.topicPrimaryKey = topicPrimaryKey;
	}

	public String getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}


	public String getTableName() {
		return tableName;
	}
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public List getJsonFieldList() {
		return jsonFieldList;
	}
	public void setJsonFieldList(List jsonFieldList) {
		this.jsonFieldList = jsonFieldList;
	}

	@Override
	public String toString() {
		return "JsonTable{" +
				"tableName='" + tableName + '\'' +
				", topicPrimaryKey='" + topicPrimaryKey + '\'' +
				", primaryKey='" + primaryKey + '\'' +
				'}';
	}
}
